package com.briup.jz.service;

import com.briup.jz.bean.AccountSystem;
import com.briup.jz.bean.extend.AccountSystemExtend;
import com.briup.jz.utils.CustomerException;

import java.util.List;

/**
 * @program: jz
 * @description: 账户系统业务接口
 * @author: catmilko
 * @create: 2020/6/12 15:56
 **/

public interface IAccountSystemService {

    List <AccountSystem> findAll();

    List<AccountSystemExtend> findAllWithOrderAndUser();

    AccountSystem findById(long id);

    void saveOrUpdate(AccountSystem accountSystem) throws CustomerException;

    void deleteById(long id) throws CustomerException;

}
